package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.MgRoleMenuPermission;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface MgRoleMenuPermissionDaoI extends BaseMapper<MgRoleMenuPermission> {

   @Insert("INSERT INTO `mg_role_menu_permission` (`role_code`,`menu_code`) VALUES (#{roleCode},#{menuCode})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(MgRoleMenuPermission mgRoleMenuPermission);
}
